#ifndef _DOFONTID_H
#define _DOFONTID_H

#include "_DoObject.h"
#include "_DoCompositeObject.h"

class SkTypeface;

class _DoFontId : public _DoObject
{
protected:
	_DoFontId(const _DoFontId&);
	_DoFontId& operator=(const _DoFontId&);

public:
	_DoFontId();
	virtual ~_DoFontId();
	
	static void repackFont(CRefPtr< _DoObject > dict, const char* fid);
	
	static SkTypeface *getFont(CRefPtr< _DoObject > dict);
	
	static CRefPtr< _DoObject > defaultFont();
};

#endif // _DOFONTID_H
